local skill = fk.CreateSkill {
  name = "lq_yoke_skill",
}

skill:addEffect("cardskill", {
  prompt = "#lq_yoke_skill",
  target_num = 1,
  mod_target_filter = function(self, player, to_select, selected, card)
    return not to_select:hasSkill("emo__longqi", true)
  end,
  target_filter = Util.CardTargetFilter,
  on_effect = function(self, room, effect)
    local target = effect.to
    room:addSkill("#lq_yoke_trigger")
    room:setPlayerMark(target, "@@emo__longqi_temp", 1)
    room:handleAddLoseSkills(target, "emo__longqi")
  end,
})

Fk:loadTranslationTable{
  ["lq_yoke_skill"] = "枷",
  ["#lq_yoke_skill"] = "令一名没有龙契的角色获得龙契直到其进入濒死状态",
  ["@@emo__longqi_temp"] = "龙契",
}

return skill
